Q3File_GetNextObjectType
You can use theQ3File_GetNextObjectType
function to get the type of the next object in a file.
TQ3ObjectType Q3File_GetNextObjectType (TQ3FileObject file);
file
- A file object.
DESCRIPTION
TheQ3File_GetNextObjectType
function returns, as its function result, the type of the next object in the file object specified by thefile
parameter. Depending on the type of that object, you can then callQ3File_ReadObject
to read it orQ3File_SkipObject
to skip it.If an error occurs,
Q3File_GetNextObjectType
returns the valuekQ3ObjectTypeInvalid
.